package hhh.app.presenter.ui.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import java.util.List;

/**
 * Created by Administrator on 2017/4/19 0019.
 */
public class NotionAdapter extends BaseAdapter {
    List<String> notions;
    Context context;

    public NotionAdapter(List<String> notions, Context context) {
        this.notions = notions;
        this.context = context;
    }

    @Override
    public int getCount() {
        return notions.size();
    }

    @Override
    public String getItem(int i) {
        return notions.get(i);
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        return null;
    }
}
